package Module;
/**
 * Project:    metsysdirg
 * File Name: WorkService.java
 * Change History:
 *     ********************************
 *     1.0     5/13/2011    Hengfeng Li
 *         Create the skeleton file
 *     ********************************
 *
 */
import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * This provides an interface of work service in workers.
 */
public interface WorkService extends Remote{

    /** Execute a work unit */
    public ResultUnit execute(WorkUnit workUnit, String authCode) throws RemoteException;
    
    public void cancelJob(String authCode) throws RemoteException ;
    
    
    
}
